<%_ if (useKafka) { _%>
kafka:
  enabled: true
  replicas: 3
  <%_ if (istio) { _%>
  podAnnotations:
    sidecar.istio.io/inject: "false"
  <%_ } _%>
  zookeeper:
    enabled: true
    replicas: 3
    <%_ if (istio) { _%>
    podAnnotations:
      sidecar.istio.io/inject: "false"
    <%_ } _%>
<%_ } _%>
<%_ if (monitoring === 'elk') { _%>
elk:
  enabled: true
elasticsearch:
  image:
    repository: "<%= DOCKER_JHIPSTER_ELASTICSEARCH.split(":")[0] %>"
    tag: "<%= DOCKER_JHIPSTER_ELASTICSEARCH.split(":")[1] %>"
  cluster:
    env:
      MINIMUM_MASTER_NODES: 2
  master:
    name: master
    replicas: 2
    <%_ if (istio) { _%>
    podAnnotations:
      sidecar.istio.io/inject: "false"
    <%_ } _%>
  data:
    name: data
    replicas: 1
    <%_ if (istio) { _%>
    podAnnotations:
      sidecar.istio.io/inject: "false"
    <%_ } _%>
  client:
    name: client
    replicas: 1
    <%_ if (istio) { _%>
    podAnnotations:
      sidecar.istio.io/inject: "false"
    <%_ } _%>
<%_ } _%>
<%_ if (monitoring === 'prometheus') { _%>
prometheus:
  enabled: true
  server:
    name: jhipster-prometheus
    <%_ if (istio) { _%>
    podAnnotations:
      sidecar.istio.io/inject: "false"
    <%_ } _%>
    service:
      servicePort: 9090
  nodeExporter:
    enabled: false
  kubeStateMetrics:
    enabled: false
  pushgateway:
    enabled: false
grafana:
  <%_ if (istio) { _%>
  podAnnotations:
    sidecar.istio.io/inject: "false"
  <%_ } _%>
  <%_ if (!istio && kubernetesServiceType === 'Ingress') { _%>
  ingress:
    enabled: true
    hosts:
    - jhipster-grafana.<%= kubernetesNamespace %><%= ingressDomain %>
  <%_ } _%>
  datasources:
    datasources.yaml:
      apiVersion: 1
      datasources:
      - name: prometheus
        type: prometheus
        url: http://jhipster-prometheus:9090
        access: proxy
        isDefault: true
        basicAuth: false
  dashboardProviders:
    dashboardproviders.yaml:
      apiVersion: 1
      providers:
      - name: 'prometheus'
        orgId: 1
        folder: ''
        type: file
        disableDeletion: false
        editable: true
        options:
          path: /var/lib/grafana/dashboards/prometheus
  dashboards:
    prometheus:
      prometheus-dashboard:
        json: |-
            {
                "__inputs": [
                    {
                        "name": "DS_PROMETHEUS",
                        "label": "prometheus",
                        "description": "",
                        "type": "datasource",
                        "pluginId": "prometheus",
                        "pluginName": "Prometheus"
                    }
                ],
                "__requires": [
                    {
                        "type": "grafana",
                        "id": "grafana",
                        "name": "Grafana",
                        "version": "5.0.4"
                    },
                    {
                        "type": "panel",
                        "id": "graph",
                        "name": "Graph",
                        "version": ""
                    },
                    {
                        "type": "datasource",
                        "id": "prometheus",
                        "name": "Prometheus",
                        "version": "5.0.0"
                    },
                    {
                        "type": "panel",
                        "id": "singlestat",
                        "name": "Singlestat",
                        "version": ""
                    }
                ],
                "annotations": {
                    "list": [
                        {
                            "builtIn": 1,
                            "datasource": "-- Grafana --",
                            "enable": true,
                            "hide": true,
                            "iconColor": "rgba(0, 211, 255, 1)",
                            "name": "Annotations & Alerts",
                            "type": "dashboard"
                        }
                    ]
                },
                "description": "JHipster metrics",
                "editable": true,
                "gnetId": 3308,
                "graphTooltip": 0,
                "hideControls": false,
                "id": null,
                "links": [],
                "refresh": false,
                "rows": [
                    {
                        "collapse": false,
                        "height": "250px",
                        "panels": [
                            {
                                "cacheTimeout": null,
                                "colorBackground": false,
                                "colorValue": false,
                                "colors": [
                                    "rgba(245, 54, 54, 0.9)",
                                    "rgba(237, 129, 40, 0.89)",
                                    "rgba(50, 172, 45, 0.97)"
                                ],
                                "datasource": "prometheus",
                                "decimals": null,
                                "description": "Service status",
                                "format": "none",
                                "gauge": {
                                    "maxValue": 1,
                                    "minValue": 0,
                                    "show": true,
                                    "thresholdLabels": false,
                                    "thresholdMarkers": true
                                },
                                "height": "",
                                "id": 1,
                                "interval": null,
                                "links": [],
                                "mappingType": 1,
                                "mappingTypes": [
                                    {
                                        "name": "value to text",
                                        "value": 1
                                    },
                                    {
                                        "name": "range to text",
                                        "value": 2
                                    }
                                ],
                                "maxDataPoints": 100,
                                "nullPointMode": "connected",
                                "nullText": null,
                                "postfix": "",
                                "postfixFontSize": "50%",
                                "prefix": "",
                                "prefixFontSize": "100%",
                                "rangeMaps": [
                                    {
                                        "from": "null",
                                        "text": "N/A",
                                        "to": "null"
                                    }
                                ],
                                "span": 4,
                                "sparkline": {
                                    "fillColor": "rgba(31, 118, 189, 0.18)",
                                    "full": false,
                                    "lineColor": "rgb(31, 120, 193)",
                                    "show": false
                                },
                                "tableColumn": "Value",
                                "targets": [
                                    {
                                        "expr": "up{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "table",
                                        "intervalFactor": 2,
                                        "refId": "A",
                                        "step": 20,
                                        "metric": "up",
                                        "legendFormat": "service"
                                    }
                                ],
                                "thresholds": "0",
                                "title": "Service Status Now",
                                "type": "singlestat",
                                "valueFontSize": "120%",
                                "valueMaps": [
                                    {
                                        "op": "=",
                                        "text": "Down",
                                        "value": "0"
                                    },
                                    {
                                        "value": "1",
                                        "op": "=",
                                        "text": "Up"
                                    }
                                ],
                                "valueName": "current",
                                "hideTimeOverride": false,
                                "minSpan": null,
                                "repeat": null,
                                "transparent": false
                            },
                            {
                                "id": 29,
                                "title": "Service Uptime",
                                "span": 8,
                                "type": "graph",
                                "targets": [
                                    {
                                        "refId": "A",
                                        "expr": "up{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "step": 2,
                                        "legendFormat": "{{pod}}"
                                    }
                                ],
                                "datasource": "prometheus",
                                "renderer": "flot",
                                "yaxes": [
                                    {
                                        "label": null,
                                        "show": true,
                                        "logBase": 1,
                                        "min": "0",
                                        "max": "1",
                                        "format": "short"
                                    },
                                    {
                                        "label": null,
                                        "show": true,
                                        "logBase": 1,
                                        "min": "0",
                                        "max": "1",
                                        "format": "short"
                                    }
                                ],
                                "xaxis": {
                                    "show": true,
                                    "mode": "time",
                                    "name": null,
                                    "values": [],
                                    "buckets": null
                                },
                                "lines": true,
                                "fill": 1,
                                "linewidth": 1,
                                "dashes": false,
                                "dashLength": 10,
                                "spaceLength": 10,
                                "points": true,
                                "pointradius": 3,
                                "bars": false,
                                "stack": false,
                                "percentage": false,
                                "legend": {
                                    "show": true,
                                    "values": false,
                                    "min": false,
                                    "max": false,
                                    "current": false,
                                    "total": false,
                                    "avg": false,
                                    "alignAsTable": true
                                },
                                "nullPointMode": "null",
                                "steppedLine": true,
                                "tooltip": {
                                    "value_type": "individual",
                                    "shared": true,
                                    "sort": 0
                                },
                                "timeFrom": null,
                                "timeShift": null,
                                "aliasColors": {},
                                "seriesOverrides": [],
                                "thresholds": [],
                                "links": [],
                                "description": "The uptime of the service"
                            }
                        ],
                        "repeat": null,
                        "repeatIteration": null,
                        "repeatRowId": null,
                        "showTitle": true,
                        "title": "Uptime Metrics",
                        "titleSize": "h6"
                    },
                    {
                        "collapse": false,
                        "height": 250,
                        "panels": [
                            {
                                "cacheTimeout": null,
                                "colorBackground": false,
                                "colorValue": true,
                                "colors": [
                                    "rgba(32, 176, 9, 0.9)",
                                    "rgba(237, 129, 40, 0.89)",
                                    "rgba(50, 172, 45, 0.97)"
                                ],
                                "datasource": "prometheus",
                                "description": "Total requests count",
                                "format": "none",
                                "gauge": {
                                    "maxValue": 10000000000000,
                                    "minValue": 0,
                                    "show": true,
                                    "thresholdLabels": false,
                                    "thresholdMarkers": true
                                },
                                "id": 5,
                                "interval": null,
                                "links": [],
                                "mappingType": 1,
                                "mappingTypes": [
                                    {
                                        "name": "value to text",
                                        "value": 1
                                    },
                                    {
                                        "name": "range to text",
                                        "value": 2
                                    }
                                ],
                                "maxDataPoints": 100,
                                "nullPointMode": "connected",
                                "nullText": null,
                                "postfix": "",
                                "postfixFontSize": "50%",
                                "prefix": "",
                                "prefixFontSize": "50%",
                                "rangeMaps": [
                                    {
                                        "from": "null",
                                        "text": "N/A",
                                        "to": "null"
                                    }
                                ],
                                "span": 3,
                                "sparkline": {
                                    "fillColor": "rgba(31, 118, 189, 0.18)",
                                    "full": false,
                                    "lineColor": "rgb(31, 120, 193)",
                                    "show": false
                                },
                                "tableColumn": "Value",
                                "targets": [
                                    {
                                        "expr": "com_codahale_metrics_servlet_InstrumentedFilter_requests_count{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "table",
                                        "intervalFactor": 2,
                                        "refId": "A",
                                        "step": 20,
                                        "metric": "com_codahale_metrics_servlet_InstrumentedFilter_requests_count"
                                    }
                                ],
                                "thresholds": "",
                                "title": "Total Requests",
                                "type": "singlestat",
                                "valueFontSize": "70%",
                                "valueMaps": [
                                    {
                                        "op": "=",
                                        "text": "N/A",
                                        "value": "null"
                                    }
                                ],
                                "valueName": "total",
                                "transparent": false
                            },
                            {
                                "cacheTimeout": null,
                                "colorBackground": false,
                                "colorValue": false,
                                "colors": [
                                    "rgba(245, 54, 54, 0.9)",
                                    "rgba(237, 129, 40, 0.89)",
                                    "rgba(50, 172, 45, 0.97)"
                                ],
                                "datasource": "prometheus",
                                "description": "Number of 200 OK requests",
                                "format": "none",
                                "gauge": {
                                    "maxValue": 10000000000000000,
                                    "minValue": 0,
                                    "show": true,
                                    "thresholdLabels": false,
                                    "thresholdMarkers": true
                                },
                                "id": 6,
                                "interval": null,
                                "links": [],
                                "mappingType": 1,
                                "mappingTypes": [
                                    {
                                        "name": "value to text",
                                        "value": 1
                                    },
                                    {
                                        "name": "range to text",
                                        "value": 2
                                    }
                                ],
                                "maxDataPoints": 100,
                                "nullPointMode": "connected",
                                "nullText": null,
                                "postfix": "",
                                "postfixFontSize": "50%",
                                "prefix": "",
                                "prefixFontSize": "50%",
                                "rangeMaps": [
                                    {
                                        "from": "null",
                                        "text": "N/A",
                                        "to": "null"
                                    }
                                ],
                                "span": 3,
                                "sparkline": {
                                    "fillColor": "rgba(31, 118, 189, 0.78)",
                                    "full": false,
                                    "lineColor": "rgb(31, 120, 193)",
                                    "show": true
                                },
                                "tableColumn": "Value",
                                "targets": [
                                    {
                                        "expr": "com_codahale_metrics_servlet_InstrumentedFilter_responseCodes_ok_total{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "table",
                                        "intervalFactor": 2,
                                        "legendFormat": "",
                                        "refId": "A",
                                        "step": 20,
                                        "metric": "com_codahale_metrics_servlet_InstrumentedFilter_responseCodes_ok_total"
                                    }
                                ],
                                "thresholds": "",
                                "title": "Total Successful hits",
                                "type": "singlestat",
                                "valueFontSize": "80%",
                                "valueMaps": [
                                    {
                                        "op": "=",
                                        "text": "N/A",
                                        "value": "null"
                                    }
                                ],
                                "valueName": "total"
                            },
                            {
                                "cacheTimeout": null,
                                "colorBackground": false,
                                "colorValue": false,
                                "colors": [
                                    "rgba(245, 54, 54, 0.9)",
                                    "rgba(237, 129, 40, 0.89)",
                                    "rgba(50, 172, 45, 0.97)"
                                ],
                                "datasource": "prometheus",
                                "description": "Number of server errors and bad requests",
                                "format": "none",
                                "gauge": {
                                    "maxValue": 1,
                                    "minValue": 0,
                                    "show": true,
                                    "thresholdLabels": false,
                                    "thresholdMarkers": true
                                },
                                "id": 7,
                                "interval": null,
                                "links": [],
                                "mappingType": 1,
                                "mappingTypes": [
                                    {
                                        "name": "value to text",
                                        "value": 1
                                    },
                                    {
                                        "name": "range to text",
                                        "value": 2
                                    }
                                ],
                                "maxDataPoints": 100,
                                "nullPointMode": "connected",
                                "nullText": null,
                                "postfix": "",
                                "postfixFontSize": "50%",
                                "prefix": "",
                                "prefixFontSize": "50%",
                                "rangeMaps": [
                                    {
                                        "from": "null",
                                        "text": "N/A",
                                        "to": "null"
                                    }
                                ],
                                "span": 3,
                                "sparkline": {
                                    "fillColor": "rgba(31, 118, 189, 0.18)",
                                    "full": false,
                                    "lineColor": "rgb(31, 120, 193)",
                                    "show": false
                                },
                                "tableColumn": "Value",
                                "targets": [
                                    {
                                        "expr": "com_codahale_metrics_servlet_InstrumentedFilter_responseCodes_serverError_total{namespace =\"$namespace\", service =\"$service_name\"} + com_codahale_metrics_servlet_InstrumentedFilter_responseCodes_badRequest_total{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "refId": "A",
                                        "step": 20,
                                        "metric": "com_codahale_metrics_servlet_InstrumentedFilter_responseCodes_serverError_total"
                                    }
                                ],
                                "thresholds": "1",
                                "title": "Total Bad hits",
                                "type": "singlestat",
                                "valueFontSize": "70%",
                                "valueMaps": [
                                    {
                                        "op": "=",
                                        "text": "N/A",
                                        "value": "null"
                                    }
                                ],
                                "valueName": "total"
                            },
                            {
                                "cacheTimeout": null,
                                "colorBackground": false,
                                "colorValue": false,
                                "colors": [
                                    "rgba(245, 54, 54, 0.9)",
                                    "rgba(237, 129, 40, 0.89)",
                                    "rgba(50, 172, 45, 0.97)"
                                ],
                                "datasource": "prometheus",
                                "description": "Number of 404 not found requests",
                                "format": "none",
                                "gauge": {
                                    "maxValue": 1,
                                    "minValue": 0,
                                    "show": true,
                                    "thresholdLabels": false,
                                    "thresholdMarkers": true
                                },
                                "id": 8,
                                "interval": null,
                                "links": [],
                                "mappingType": 1,
                                "mappingTypes": [
                                    {
                                        "name": "value to text",
                                        "value": 1
                                    },
                                    {
                                        "name": "range to text",
                                        "value": 2
                                    }
                                ],
                                "maxDataPoints": 100,
                                "nullPointMode": "connected",
                                "nullText": null,
                                "postfix": "",
                                "postfixFontSize": "50%",
                                "prefix": "",
                                "prefixFontSize": "50%",
                                "rangeMaps": [
                                    {
                                        "from": "null",
                                        "text": "N/A",
                                        "to": "null"
                                    }
                                ],
                                "span": 3,
                                "sparkline": {
                                    "fillColor": "rgba(31, 118, 189, 0.18)",
                                    "full": false,
                                    "lineColor": "rgb(31, 120, 193)",
                                    "show": false
                                },
                                "tableColumn": "",
                                "targets": [
                                    {
                                        "expr": "com_codahale_metrics_servlet_InstrumentedFilter_responseCodes_notFound_total{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "refId": "A",
                                        "step": 20,
                                        "metric": "com_codahale_metrics_servlet_InstrumentedFilter_responseCodes_notFound_total"
                                    }
                                ],
                                "thresholds": "1",
                                "title": "Trace 404 hits",
                                "type": "singlestat",
                                "valueFontSize": "80%",
                                "valueMaps": [
                                    {
                                        "op": "=",
                                        "text": "N/A",
                                        "value": "null"
                                    }
                                ],
                                "valueName": "total"
                            },
                            {
                                "id": 30,
                                "title": "Active Requests",
                                "span": 12,
                                "type": "graph",
                                "targets": [
                                    {
                                        "refId": "A",
                                        "expr": "com_codahale_metrics_servlet_InstrumentedFilter_activeRequests{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "metric": "com_codahale_metrics_servlet_InstrumentedFilter_activeRequests",
                                        "step": 2,
                                        "legendFormat": "{{service}}"
                                    }
                                ],
                                "datasource": "prometheus",
                                "renderer": "flot",
                                "yaxes": [
                                    {
                                        "label": null,
                                        "show": true,
                                        "logBase": 1,
                                        "min": null,
                                        "max": null,
                                        "format": "short"
                                    },
                                    {
                                        "label": null,
                                        "show": true,
                                        "logBase": 1,
                                        "min": null,
                                        "max": null,
                                        "format": "short"
                                    }
                                ],
                                "xaxis": {
                                    "show": true,
                                    "mode": "time",
                                    "name": null,
                                    "values": [
                                        "total"
                                    ],
                                    "buckets": null
                                },
                                "lines": true,
                                "fill": 1,
                                "linewidth": 2,
                                "dashes": false,
                                "dashLength": 10,
                                "spaceLength": 10,
                                "points": false,
                                "pointradius": 5,
                                "bars": false,
                                "stack": false,
                                "percentage": false,
                                "legend": {
                                    "show": true,
                                    "values": true,
                                    "min": true,
                                    "max": true,
                                    "current": true,
                                    "total": false,
                                    "avg": true,
                                    "alignAsTable": true
                                },
                                "nullPointMode": "null",
                                "steppedLine": false,
                                "tooltip": {
                                    "value_type": "individual",
                                    "shared": false,
                                    "sort": 0
                                },
                                "timeFrom": null,
                                "timeShift": null,
                                "aliasColors": {},
                                "seriesOverrides": [],
                                "thresholds": [],
                                "links": []
                            }
                        ],
                        "repeat": null,
                        "repeatIteration": null,
                        "repeatRowId": null,
                        "showTitle": true,
                        "title": "Requests Metrics",
                        "titleSize": "h6"
                    },
                    {
                        "collapse": false,
                        "height": 250,
                        "panels": [
                            {
                                "aliasColors": {},
                                "bars": false,
                                "dashLength": 10,
                                "dashes": false,
                                "datasource": "prometheus",
                                "description": "The current number of live threads including daemon and non-daemon and runnable threads",
                                "fill": 4,
                                "id": 10,
                                "legend": {
                                    "alignAsTable": true,
                                    "avg": true,
                                    "current": true,
                                    "max": true,
                                    "min": true,
                                    "show": true,
                                    "total": false,
                                    "values": true,
                                    "rightSide": false,
                                    "hideEmpty": false
                                },
                                "lines": true,
                                "linewidth": 2,
                                "links": [],
                                "nullPointMode": "null",
                                "percentage": false,
                                "pointradius": 5,
                                "points": false,
                                "renderer": "flot",
                                "seriesOverrides": [],
                                "spaceLength": 10,
                                "span": 4,
                                "stack": false,
                                "steppedLine": true,
                                "targets": [
                                    {
                                        "expr": "jvm_threads_count{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "legendFormat": "Total threads",
                                        "refId": "A",
                                        "step": 4,
                                        "metric": "jvm_threads_count"
                                    },
                                    {
                                        "expr": "jvm_threads_daemon_count{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "refId": "B",
                                        "metric": "jvm_threads_daemon_count",
                                        "step": 4,
                                        "legendFormat": "Daemon threads"
                                    },
                                    {
                                        "expr": "jvm_threads_runnable_count{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "refId": "C",
                                        "metric": "jvm_threads_runnable_count",
                                        "step": 4,
                                        "legendFormat": "Runnable threads"
                                    }
                                ],
                                "thresholds": [],
                                "timeFrom": null,
                                "timeShift": null,
                                "title": "Live Threads",
                                "tooltip": {
                                    "shared": false,
                                    "sort": 0,
                                    "value_type": "individual"
                                },
                                "type": "graph",
                                "xaxis": {
                                    "buckets": null,
                                    "mode": "time",
                                    "name": null,
                                    "show": true,
                                    "values": [
                                        "total"
                                    ]
                                },
                                "yaxes": [
                                    {
                                        "format": "short",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": "0",
                                        "show": true
                                    },
                                    {
                                        "format": "short",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": "0",
                                        "show": true
                                    }
                                ],
                                "transparent": false
                            },
                            {
                                "aliasColors": {},
                                "bars": false,
                                "dashLength": 10,
                                "dashes": false,
                                "datasource": "prometheus",
                                "description": "The current number of blocked and deadlock threads",
                                "fill": 1,
                                "id": 11,
                                "legend": {
                                    "alignAsTable": true,
                                    "avg": true,
                                    "current": true,
                                    "max": true,
                                    "min": true,
                                    "show": true,
                                    "total": false,
                                    "values": true
                                },
                                "lines": true,
                                "linewidth": 1,
                                "links": [],
                                "nullPointMode": "null",
                                "percentage": false,
                                "pointradius": 5,
                                "points": false,
                                "renderer": "flot",
                                "seriesOverrides": [],
                                "spaceLength": 10,
                                "span": 4,
                                "stack": false,
                                "steppedLine": false,
                                "targets": [
                                    {
                                        "expr": "jvm_threads_blocked_count{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "legendFormat": "Blocked threads",
                                        "refId": "A",
                                        "step": 4,
                                        "metric": "jvm_threads_blocked_count"
                                    },
                                    {
                                        "expr": "jvm_threads_deadlock_count{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "refId": "B",
                                        "metric": "jvm_threads_deadlock_count",
                                        "step": 4,
                                        "legendFormat": "Deadlock threads"
                                    }
                                ],
                                "thresholds": [],
                                "timeFrom": null,
                                "timeShift": null,
                                "title": "Blocked and Deadlock Threads",
                                "tooltip": {
                                    "shared": true,
                                    "sort": 0,
                                    "value_type": "individual"
                                },
                                "type": "graph",
                                "xaxis": {
                                    "buckets": null,
                                    "mode": "time",
                                    "name": null,
                                    "show": true,
                                    "values": []
                                },
                                "yaxes": [
                                    {
                                        "format": "short",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": "0",
                                        "show": true
                                    },
                                    {
                                        "format": "short",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": "0",
                                        "show": true
                                    }
                                ]
                            },
                            {
                                "aliasColors": {},
                                "bars": false,
                                "dashLength": 10,
                                "dashes": false,
                                "datasource": "prometheus",
                                "description": "The current number of waiting threads",
                                "fill": 1,
                                "id": 12,
                                "legend": {
                                    "alignAsTable": true,
                                    "avg": true,
                                    "current": true,
                                    "max": true,
                                    "min": true,
                                    "show": true,
                                    "total": false,
                                    "values": true
                                },
                                "lines": true,
                                "linewidth": 1,
                                "links": [],
                                "nullPointMode": "null",
                                "percentage": false,
                                "pointradius": 5,
                                "points": false,
                                "renderer": "flot",
                                "seriesOverrides": [],
                                "spaceLength": 10,
                                "span": 4,
                                "stack": false,
                                "steppedLine": false,
                                "targets": [
                                    {
                                        "expr": "jvm_threads_waiting_count{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "legendFormat": "Waiting threads",
                                        "refId": "A",
                                        "step": 4,
                                        "metric": "jvm_threads_waiting_count"
                                    }
                                ],
                                "thresholds": [],
                                "timeFrom": null,
                                "timeShift": null,
                                "title": "Waiting Threads",
                                "tooltip": {
                                    "shared": true,
                                    "sort": 0,
                                    "value_type": "individual"
                                },
                                "type": "graph",
                                "xaxis": {
                                    "buckets": null,
                                    "mode": "time",
                                    "name": null,
                                    "show": true,
                                    "values": []
                                },
                                "yaxes": [
                                    {
                                        "format": "short",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": "0",
                                        "show": true
                                    },
                                    {
                                        "format": "short",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": "0",
                                        "show": true
                                    }
                                ]
                            }
                        ],
                        "repeat": null,
                        "repeatIteration": null,
                        "repeatRowId": null,
                        "showTitle": true,
                        "title": "Thread Metrics",
                        "titleSize": "h6"
                    },
                    {
                        "collapse": false,
                        "height": 250,
                        "panels": [
                            {
                                "aliasColors": {},
                                "bars": false,
                                "dashLength": 10,
                                "dashes": false,
                                "datasource": "prometheus",
                                "description": "An estimate of the number of buffers in the pool",
                                "fill": 1,
                                "id": 13,
                                "legend": {
                                    "alignAsTable": true,
                                    "avg": true,
                                    "current": true,
                                    "max": true,
                                    "min": true,
                                    "show": true,
                                    "total": false,
                                    "values": true
                                },
                                "lines": true,
                                "linewidth": 1,
                                "links": [],
                                "nullPointMode": "null",
                                "percentage": false,
                                "pointradius": 5,
                                "points": false,
                                "renderer": "flot",
                                "seriesOverrides": [],
                                "spaceLength": 10,
                                "span": 4,
                                "stack": false,
                                "steppedLine": false,
                                "targets": [
                                    {
                                        "expr": "jvm_buffers_direct_count{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "legendFormat": "{{service}}",
                                        "refId": "A",
                                        "step": 4,
                                        "metric": "jvm_buffers_direct_count"
                                    }
                                ],
                                "thresholds": [],
                                "timeFrom": null,
                                "timeShift": null,
                                "title": "Buffer Count",
                                "tooltip": {
                                    "shared": true,
                                    "sort": 0,
                                    "value_type": "individual"
                                },
                                "type": "graph",
                                "xaxis": {
                                    "buckets": null,
                                    "mode": "time",
                                    "name": null,
                                    "show": true,
                                    "values": []
                                },
                                "yaxes": [
                                    {
                                        "format": "short",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": "0",
                                        "show": true
                                    },
                                    {
                                        "format": "short",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": "0",
                                        "show": true
                                    }
                                ]
                            },
                            {
                                "aliasColors": {},
                                "bars": false,
                                "dashLength": 10,
                                "dashes": false,
                                "datasource": "prometheus",
                                "description": "An estimate of the memory that the Java virtual machine is using for this buffer pool",
                                "fill": 1,
                                "id": 14,
                                "legend": {
                                    "alignAsTable": true,
                                    "avg": true,
                                    "current": true,
                                    "max": true,
                                    "min": true,
                                    "show": true,
                                    "total": false,
                                    "values": true
                                },
                                "lines": true,
                                "linewidth": 1,
                                "links": [],
                                "nullPointMode": "null",
                                "percentage": false,
                                "pointradius": 5,
                                "points": false,
                                "renderer": "flot",
                                "seriesOverrides": [],
                                "spaceLength": 10,
                                "span": 4,
                                "stack": false,
                                "steppedLine": false,
                                "targets": [
                                    {
                                        "expr": "jvm_buffers_direct_used{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "legendFormat": "{{service}}",
                                        "refId": "A",
                                        "step": 4,
                                        "metric": "jvm_buffers_direct_used"
                                    }
                                ],
                                "thresholds": [],
                                "timeFrom": null,
                                "timeShift": null,
                                "title": "Buffer Mem Used",
                                "tooltip": {
                                    "shared": true,
                                    "sort": 0,
                                    "value_type": "individual"
                                },
                                "type": "graph",
                                "xaxis": {
                                    "buckets": null,
                                    "mode": "time",
                                    "name": null,
                                    "show": true,
                                    "values": []
                                },
                                "yaxes": [
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    },
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    }
                                ]
                            },
                            {
                                "aliasColors": {},
                                "bars": false,
                                "dashLength": 10,
                                "dashes": false,
                                "datasource": "prometheus",
                                "description": "An estimate of the total capacity of the buffers in this pool",
                                "fill": 1,
                                "id": 15,
                                "legend": {
                                    "alignAsTable": true,
                                    "avg": false,
                                    "current": true,
                                    "max": false,
                                    "min": false,
                                    "show": true,
                                    "total": false,
                                    "values": true
                                },
                                "lines": true,
                                "linewidth": 1,
                                "links": [],
                                "nullPointMode": "null",
                                "percentage": false,
                                "pointradius": 5,
                                "points": false,
                                "renderer": "flot",
                                "seriesOverrides": [],
                                "spaceLength": 10,
                                "span": 4,
                                "stack": false,
                                "steppedLine": false,
                                "targets": [
                                    {
                                        "expr": "jvm_buffers_direct_capacity{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "legendFormat": "{{service}}",
                                        "refId": "A",
                                        "step": 4,
                                        "metric": "jvm_buffers_direct_capacity"
                                    }
                                ],
                                "thresholds": [],
                                "timeFrom": null,
                                "timeShift": null,
                                "title": "Buffer Capacity",
                                "tooltip": {
                                    "shared": true,
                                    "sort": 0,
                                    "value_type": "individual"
                                },
                                "type": "graph",
                                "xaxis": {
                                    "buckets": null,
                                    "mode": "time",
                                    "name": null,
                                    "show": true,
                                    "values": []
                                },
                                "yaxes": [
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    },
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    }
                                ]
                            },
                            {
                                "aliasColors": {},
                                "bars": false,
                                "dashLength": 10,
                                "dashes": false,
                                "datasource": "prometheus",
                                "description": "The total amount of heap memory",
                                "fill": 1,
                                "id": 18,
                                "legend": {
                                    "alignAsTable": true,
                                    "avg": true,
                                    "current": true,
                                    "max": true,
                                    "min": true,
                                    "show": true,
                                    "total": false,
                                    "values": true
                                },
                                "lines": true,
                                "linewidth": 1,
                                "links": [],
                                "nullPointMode": "null",
                                "percentage": false,
                                "pointradius": 5,
                                "points": false,
                                "renderer": "flot",
                                "seriesOverrides": [],
                                "spaceLength": 10,
                                "span": 4,
                                "stack": false,
                                "steppedLine": false,
                                "targets": [
                                    {
                                        "expr": "jvm_memory_heap_used{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "legendFormat": "Used",
                                        "refId": "A",
                                        "step": 4,
                                        "metric": "jvm_memory_heap_used"
                                    },
                                    {
                                        "expr": "jvm_memory_heap_max{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "refId": "B",
                                        "metric": "jvm_memory_heap_max",
                                        "step": 4,
                                        "legendFormat": "Maximum"
                                    },
                                    {
                                        "expr": "jvm_memory_heap_committed{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "refId": "C",
                                        "metric": "jvm_memory_heap_committed",
                                        "step": 4,
                                        "legendFormat": "Committed"
                                    }
                                ],
                                "thresholds": [],
                                "timeFrom": null,
                                "timeShift": null,
                                "title": "Heap Memory",
                                "tooltip": {
                                    "shared": true,
                                    "sort": 0,
                                    "value_type": "individual"
                                },
                                "type": "graph",
                                "xaxis": {
                                    "buckets": null,
                                    "mode": "time",
                                    "name": null,
                                    "show": true,
                                    "values": []
                                },
                                "yaxes": [
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    },
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    }
                                ]
                            },
                            {
                                "aliasColors": {},
                                "bars": false,
                                "dashLength": 10,
                                "dashes": false,
                                "datasource": "prometheus",
                                "description": "The amount of used, committed and max memory",
                                "fill": 1,
                                "id": 16,
                                "legend": {
                                    "alignAsTable": true,
                                    "avg": true,
                                    "current": true,
                                    "max": true,
                                    "min": true,
                                    "show": true,
                                    "total": false,
                                    "values": true
                                },
                                "lines": true,
                                "linewidth": 1,
                                "links": [],
                                "nullPointMode": "null",
                                "percentage": false,
                                "pointradius": 5,
                                "points": false,
                                "renderer": "flot",
                                "seriesOverrides": [],
                                "spaceLength": 10,
                                "span": 4,
                                "stack": false,
                                "steppedLine": false,
                                "targets": [
                                    {
                                        "expr": "jvm_memory_total_used{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "legendFormat": "Used",
                                        "refId": "A",
                                        "step": 4,
                                        "metric": "jvm_memory_total_used"
                                    },
                                    {
                                        "expr": "jvm_memory_total_max{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "refId": "B",
                                        "metric": "jvm_memory_total_max",
                                        "step": 4,
                                        "legendFormat": "Max"
                                    },
                                    {
                                        "expr": "jvm_memory_total_committed{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "refId": "C",
                                        "metric": "jvm_memory_total_committed",
                                        "step": 4,
                                        "legendFormat": "Committed"
                                    }
                                ],
                                "thresholds": [],
                                "timeFrom": null,
                                "timeShift": null,
                                "title": "Total Memory",
                                "tooltip": {
                                    "shared": false,
                                    "sort": 0,
                                    "value_type": "individual"
                                },
                                "type": "graph",
                                "xaxis": {
                                    "buckets": null,
                                    "mode": "time",
                                    "name": null,
                                    "show": true,
                                    "values": [
                                        "total"
                                    ]
                                },
                                "yaxes": [
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    },
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    }
                                ]
                            },
                            {
                                "aliasColors": {},
                                "bars": false,
                                "dashLength": 10,
                                "dashes": false,
                                "datasource": "prometheus",
                                "description": "The total amount of  non heap memory",
                                "fill": 1,
                                "id": 17,
                                "legend": {
                                    "alignAsTable": true,
                                    "avg": true,
                                    "current": true,
                                    "max": true,
                                    "min": true,
                                    "show": true,
                                    "total": false,
                                    "values": true
                                },
                                "lines": true,
                                "linewidth": 1,
                                "links": [],
                                "nullPointMode": "null",
                                "percentage": false,
                                "pointradius": 5,
                                "points": false,
                                "renderer": "flot",
                                "seriesOverrides": [],
                                "spaceLength": 10,
                                "span": 4,
                                "stack": false,
                                "steppedLine": false,
                                "targets": [
                                    {
                                        "expr": "jvm_memory_non_heap_used{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "legendFormat": "Non Heap Used",
                                        "refId": "A",
                                        "step": 4,
                                        "metric": "jvm_memory_non_heap_used"
                                    },
                                    {
                                        "expr": "jvm_memory_non_heap_committed{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "refId": "B",
                                        "metric": "jvm_memory_non_heap_max",
                                        "step": 4,
                                        "legendFormat": "Non Heap Committed"
                                    },
                                    {
                                        "expr": "jvm_memory_pools_Metaspace_used{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "refId": "C",
                                        "metric": "jvm_memory_pools_Metaspace_used",
                                        "step": 4,
                                        "legendFormat": "Metaspace Used"
                                    },
                                    {
                                        "expr": "jvm_memory_pools_Code_Cache_used{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "refId": "D",
                                        "metric": "jvm_memory_pools_Code_Cache_used",
                                        "step": 4,
                                        "legendFormat": "Code Cache Used"
                                    }
                                ],
                                "thresholds": [],
                                "timeFrom": null,
                                "timeShift": null,
                                "title": "Other Memory",
                                "tooltip": {
                                    "shared": true,
                                    "sort": 0,
                                    "value_type": "individual"
                                },
                                "type": "graph",
                                "xaxis": {
                                    "buckets": null,
                                    "mode": "time",
                                    "name": null,
                                    "show": true,
                                    "values": []
                                },
                                "yaxes": [
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    },
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    }
                                ]
                            }
                        ],
                        "repeat": null,
                        "repeatIteration": null,
                        "repeatRowId": null,
                        "showTitle": true,
                        "title": "Memory Metrics",
                        "titleSize": "h6"
                    },
                    {
                        "collapse": false,
                        "height": 250,
                        "panels": [
                            {
                                "aliasColors": {},
                                "bars": false,
                                "dashLength": 10,
                                "dashes": false,
                                "datasource": "prometheus",
                                "description": "Memory space of new generation",
                                "fill": 2,
                                "id": 19,
                                "legend": {
                                    "alignAsTable": true,
                                    "avg": true,
                                    "current": true,
                                    "max": true,
                                    "min": true,
                                    "show": true,
                                    "total": false,
                                    "values": true
                                },
                                "lines": true,
                                "linewidth": 2,
                                "links": [],
                                "nullPointMode": "null",
                                "percentage": false,
                                "pointradius": 5,
                                "points": false,
                                "renderer": "flot",
                                "seriesOverrides": [],
                                "spaceLength": 10,
                                "span": 6,
                                "stack": false,
                                "steppedLine": false,
                                "targets": [
                                    {
                                        "expr": "jvm_memory_pools_PS_Eden_Space_used{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "legendFormat": "Used",
                                        "refId": "A",
                                        "step": 2,
                                        "metric": "jvm_memory_pools_PS_Eden_Space_used"
                                    },
                                    {
                                        "expr": "jvm_memory_pools_PS_Eden_Space_max{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "refId": "B",
                                        "metric": "jvm_memory_pools_PS_Eden_Space_max",
                                        "step": 2,
                                        "legendFormat": "Max"
                                    }
                                ],
                                "thresholds": [],
                                "timeFrom": null,
                                "timeShift": null,
                                "title": "Eden Space",
                                "tooltip": {
                                    "shared": true,
                                    "sort": 0,
                                    "value_type": "individual"
                                },
                                "type": "graph",
                                "xaxis": {
                                    "buckets": null,
                                    "mode": "time",
                                    "name": null,
                                    "show": true,
                                    "values": []
                                },
                                "yaxes": [
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    },
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    }
                                ]
                            },
                            {
                                "aliasColors": {},
                                "bars": false,
                                "dashLength": 10,
                                "dashes": false,
                                "datasource": "prometheus",
                                "description": "Memory space of new generation",
                                "fill": 1,
                                "id": 20,
                                "legend": {
                                    "alignAsTable": true,
                                    "avg": true,
                                    "current": true,
                                    "max": true,
                                    "min": true,
                                    "show": true,
                                    "total": false,
                                    "values": true
                                },
                                "lines": true,
                                "linewidth": 1,
                                "links": [],
                                "nullPointMode": "null",
                                "percentage": false,
                                "pointradius": 5,
                                "points": false,
                                "renderer": "flot",
                                "seriesOverrides": [],
                                "spaceLength": 10,
                                "span": 6,
                                "stack": false,
                                "steppedLine": false,
                                "targets": [
                                    {
                                        "expr": "jvm_memory_pools_PS_Survivor_Space_used{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "legendFormat": "Used",
                                        "refId": "A",
                                        "step": 2,
                                        "metric": "jvm_memory_pools_PS_Old_Gen_used"
                                    },
                                    {
                                        "expr": "jvm_memory_pools_PS_Survivor_Space_max{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "refId": "B",
                                        "metric": "",
                                        "step": 2,
                                        "legendFormat": "Max"
                                    }
                                ],
                                "thresholds": [],
                                "timeFrom": null,
                                "timeShift": null,
                                "title": "Survivor Space",
                                "tooltip": {
                                    "shared": true,
                                    "sort": 0,
                                    "value_type": "individual"
                                },
                                "type": "graph",
                                "xaxis": {
                                    "buckets": null,
                                    "mode": "time",
                                    "name": null,
                                    "show": true,
                                    "values": []
                                },
                                "yaxes": [
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    },
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    }
                                ]
                            },
                            {
                                "aliasColors": {},
                                "bars": false,
                                "dashLength": 10,
                                "dashes": false,
                                "datasource": "prometheus",
                                "description": "Memory space of old generation",
                                "fill": 1,
                                "id": 24,
                                "legend": {
                                    "alignAsTable": true,
                                    "avg": true,
                                    "current": true,
                                    "max": true,
                                    "min": true,
                                    "show": true,
                                    "total": false,
                                    "values": true
                                },
                                "lines": true,
                                "linewidth": 1,
                                "links": [],
                                "nullPointMode": "null",
                                "percentage": false,
                                "pointradius": 5,
                                "points": false,
                                "renderer": "flot",
                                "seriesOverrides": [],
                                "spaceLength": 10,
                                "span": 12,
                                "stack": false,
                                "steppedLine": false,
                                "targets": [
                                    {
                                        "expr": "jvm_memory_pools_PS_Old_Gen_used{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "legendFormat": "Used",
                                        "refId": "A",
                                        "step": 2,
                                        "metric": "jvm_memory_pools_PS_Old_Gen_used"
                                    },
                                    {
                                        "expr": "jvm_memory_pools_PS_Old_Gen_max{namespace =\"$namespace\", service =\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "refId": "B",
                                        "step": 2,
                                        "legendFormat": "Max"
                                    }
                                ],
                                "thresholds": [],
                                "timeFrom": null,
                                "timeShift": null,
                                "title": "Old Generation",
                                "tooltip": {
                                    "shared": true,
                                    "sort": 0,
                                    "value_type": "individual"
                                },
                                "type": "graph",
                                "xaxis": {
                                    "buckets": null,
                                    "mode": "time",
                                    "name": null,
                                    "show": true,
                                    "values": []
                                },
                                "yaxes": [
                                    {
                                        "format": "decbytes",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    },
                                    {
                                        "format": "s",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": null,
                                        "show": true
                                    }
                                ]
                            }
                        ],
                        "repeat": null,
                        "repeatIteration": null,
                        "repeatRowId": null,
                        "showTitle": true,
                        "title": "Memory Space Metrics",
                        "titleSize": "h6"
                    },
                    {
                        "collapse": false,
                        "height": 250,
                        "panels": [
                            {
                                "id": 31,
                                "title": "Cache Hits",
                                "span": 6,
                                "type": "graph",
                                "targets": [
                                    {
                                        "refId": "A",
                                        "expr": "{__name__=~\"^jcache_statistics.*cache_hits\", namespace=\"$namespace\", service=\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "step": 2,
                                        "legendFormat": "{{__name__}}"
                                    }
                                ],
                                "datasource": "prometheus",
                                "renderer": "flot",
                                "yaxes": [
                                    {
                                        "label": null,
                                        "show": true,
                                        "logBase": 1,
                                        "min": "0",
                                        "max": null,
                                        "format": "none"
                                    },
                                    {
                                        "label": null,
                                        "show": true,
                                        "logBase": 1,
                                        "min": "0",
                                        "max": null,
                                        "format": "short"
                                    }
                                ],
                                "xaxis": {
                                    "show": true,
                                    "mode": "time",
                                    "name": null,
                                    "values": [
                                        "total"
                                    ],
                                    "buckets": null
                                },
                                "lines": true,
                                "fill": 1,
                                "linewidth": 1,
                                "dashes": false,
                                "dashLength": 10,
                                "spaceLength": 10,
                                "points": false,
                                "pointradius": 5,
                                "bars": false,
                                "stack": false,
                                "percentage": false,
                                "legend": {
                                    "show": true,
                                    "values": true,
                                    "min": true,
                                    "max": true,
                                    "current": true,
                                    "total": true,
                                    "avg": true,
                                    "alignAsTable": true
                                },
                                "nullPointMode": "null",
                                "steppedLine": false,
                                "tooltip": {
                                    "value_type": "individual",
                                    "shared": false,
                                    "sort": 0
                                },
                                "timeFrom": null,
                                "timeShift": null,
                                "aliasColors": {},
                                "seriesOverrides": [],
                                "thresholds": [],
                                "links": [],
                                "description": "The total number of cache hits"
                            },
                            {
                                "id": 32,
                                "title": "Cache Misses",
                                "span": 6,
                                "type": "graph",
                                "targets": [
                                    {
                                        "refId": "A",
                                        "expr": "{__name__=~\"^jcache_statistics.*cache_misses\", namespace=\"$namespace\", service=\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "step": 2,
                                        "legendFormat": "{{__name__}}"
                                    }
                                ],
                                "datasource": "prometheus",
                                "renderer": "flot",
                                "yaxes": [
                                    {
                                        "label": null,
                                        "show": true,
                                        "logBase": 1,
                                        "min": "0",
                                        "max": null,
                                        "format": "short"
                                    },
                                    {
                                        "label": null,
                                        "show": true,
                                        "logBase": 1,
                                        "min": "0",
                                        "max": null,
                                        "format": "short"
                                    }
                                ],
                                "xaxis": {
                                    "show": true,
                                    "mode": "time",
                                    "name": null,
                                    "values": [],
                                    "buckets": null
                                },
                                "lines": true,
                                "fill": 1,
                                "linewidth": 1,
                                "dashes": false,
                                "dashLength": 10,
                                "spaceLength": 10,
                                "points": false,
                                "pointradius": 5,
                                "bars": false,
                                "stack": false,
                                "percentage": false,
                                "legend": {
                                    "show": true,
                                    "values": true,
                                    "min": true,
                                    "max": true,
                                    "current": true,
                                    "total": true,
                                    "avg": true,
                                    "alignAsTable": true
                                },
                                "nullPointMode": "null",
                                "steppedLine": false,
                                "tooltip": {
                                    "value_type": "individual",
                                    "shared": true,
                                    "sort": 0
                                },
                                "timeFrom": null,
                                "timeShift": null,
                                "aliasColors": {},
                                "seriesOverrides": [],
                                "thresholds": [],
                                "links": [],
                                "description": "The total number of cache misses"
                            },
                            {
                                "id": 33,
                                "title": "Cache Gets",
                                "span": 6,
                                "type": "graph",
                                "targets": [
                                    {
                                        "refId": "A",
                                        "expr": "{__name__=~\"^jcache_statistics.*cache_gets\", namespace=\"$namespace\", service=\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "step": 2,
                                        "legendFormat": "{{__name__}}"
                                    }
                                ],
                                "datasource": "prometheus",
                                "renderer": "flot",
                                "yaxes": [
                                    {
                                        "label": null,
                                        "show": true,
                                        "logBase": 1,
                                        "min": "0",
                                        "max": null,
                                        "format": "short"
                                    },
                                    {
                                        "label": null,
                                        "show": true,
                                        "logBase": 1,
                                        "min": "0",
                                        "max": null,
                                        "format": "short"
                                    }
                                ],
                                "xaxis": {
                                    "show": true,
                                    "mode": "time",
                                    "name": null,
                                    "values": [],
                                    "buckets": null
                                },
                                "lines": true,
                                "fill": 1,
                                "linewidth": 1,
                                "dashes": false,
                                "dashLength": 10,
                                "spaceLength": 10,
                                "points": false,
                                "pointradius": 5,
                                "bars": false,
                                "stack": false,
                                "percentage": false,
                                "legend": {
                                    "show": true,
                                    "values": true,
                                    "min": true,
                                    "max": true,
                                    "current": true,
                                    "total": true,
                                    "avg": true,
                                    "alignAsTable": true
                                },
                                "nullPointMode": "null",
                                "steppedLine": false,
                                "tooltip": {
                                    "value_type": "individual",
                                    "shared": true,
                                    "sort": 0
                                },
                                "timeFrom": null,
                                "timeShift": null,
                                "aliasColors": {},
                                "seriesOverrides": [],
                                "thresholds": [],
                                "links": [],
                                "description": "The total number of cache gets"
                            },
                            {
                                "id": 34,
                                "title": "Cache Puts",
                                "span": 6,
                                "type": "graph",
                                "targets": [
                                    {
                                        "refId": "A",
                                        "expr": "{__name__=~\"^jcache_statistics.*cache_puts\", namespace=\"$namespace\", service=\"$service_name\"}",
                                        "intervalFactor": 2,
                                        "format": "time_series",
                                        "step": 2,
                                        "legendFormat": "{{__name__}}"
                                    }
                                ],
                                "datasource": "prometheus",
                                "renderer": "flot",
                                "yaxes": [
                                    {
                                        "label": null,
                                        "show": true,
                                        "logBase": 1,
                                        "min": "0",
                                        "max": null,
                                        "format": "short"
                                    },
                                    {
                                        "label": null,
                                        "show": true,
                                        "logBase": 1,
                                        "min": "0",
                                        "max": null,
                                        "format": "short"
                                    }
                                ],
                                "xaxis": {
                                    "show": true,
                                    "mode": "time",
                                    "name": null,
                                    "values": [],
                                    "buckets": null
                                },
                                "lines": true,
                                "fill": 1,
                                "linewidth": 1,
                                "dashes": false,
                                "dashLength": 10,
                                "spaceLength": 10,
                                "points": false,
                                "pointradius": 5,
                                "bars": false,
                                "stack": false,
                                "percentage": false,
                                "legend": {
                                    "show": true,
                                    "values": true,
                                    "min": true,
                                    "max": true,
                                    "current": true,
                                    "total": true,
                                    "avg": true,
                                    "alignAsTable": true
                                },
                                "nullPointMode": "null",
                                "steppedLine": false,
                                "tooltip": {
                                    "value_type": "individual",
                                    "shared": true,
                                    "sort": 0
                                },
                                "timeFrom": null,
                                "timeShift": null,
                                "aliasColors": {},
                                "seriesOverrides": [],
                                "thresholds": [],
                                "links": [],
                                "description": "The total number of cache puts"
                            }
                        ],
                        "repeat": null,
                        "repeatIteration": null,
                        "repeatRowId": null,
                        "showTitle": true,
                        "title": "Cache Metrics",
                        "titleSize": "h6"
                    },
                    {
                        "collapse": false,
                        "height": 250,
                        "panels": [
                            {
                                "aliasColors": {},
                                "bars": false,
                                "dashLength": 10,
                                "dashes": false,
                                "datasource": "prometheus",
                                "description": "Count of REST requests",
                                "fill": 1,
                                "id": 27,
                                "legend": {
                                    "alignAsTable": true,
                                    "avg": true,
                                    "current": true,
                                    "max": true,
                                    "min": true,
                                    "show": true,
                                    "total": false,
                                    "values": true
                                },
                                "lines": true,
                                "linewidth": 1,
                                "links": [],
                                "nullPointMode": "null",
                                "percentage": false,
                                "pointradius": 5,
                                "points": false,
                                "renderer": "flot",
                                "seriesOverrides": [],
                                "spaceLength": 10,
                                "span": 12,
                                "stack": false,
                                "steppedLine": false,
                                "targets": [
                                    {
                                        "expr": "{__name__=~\".*rest.*_count\", namespace=\"$namespace\", service=\"$service_name\"} ",
                                        "format": "time_series",
                                        "intervalFactor": 2,
                                        "legendFormat": "{{__name__}}",
                                        "refId": "A",
                                        "step": 2
                                    }
                                ],
                                "thresholds": [],
                                "timeFrom": null,
                                "timeShift": null,
                                "title": "REST Requests Metrics",
                                "tooltip": {
                                    "shared": false,
                                    "sort": 0,
                                    "value_type": "individual"
                                },
                                "type": "graph",
                                "xaxis": {
                                    "buckets": null,
                                    "mode": "time",
                                    "name": null,
                                    "show": true,
                                    "values": [
                                        "total"
                                    ]
                                },
                                "yaxes": [
                                    {
                                        "format": "short",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": "0",
                                        "show": true
                                    },
                                    {
                                        "format": "short",
                                        "label": null,
                                        "logBase": 1,
                                        "max": null,
                                        "min": "0",
                                        "show": true
                                    }
                                ],
                                "decimals": 0
                            }
                        ],
                        "repeat": null,
                        "repeatIteration": null,
                        "repeatRowId": null,
                        "showTitle": true,
                        "title": "REST Metrics",
                        "titleSize": "h6"
                    }
                ],
                "schemaVersion": 14,
                "style": "dark",
                "tags": [
                    "java",
                    "jhipster",
                    "spring-boot"
                ],
                "templating": {
                    "list": [
                        {
                            "allValue": null,
                            "current": {},
                            "datasource": "prometheus",
                            "hide": 0,
                            "includeAll": false,
                            "label": "Namespace",
                            "multi": false,
                            "name": "namespace",
                            "options": [],
                            "query": "label_values(jvm_files, namespace)",
                            "refresh": 2,
                            "regex": "",
                            "sort": 1,
                            "tagValuesQuery": "",
                            "tags": [],
                            "tagsQuery": "",
                            "type": "query",
                            "useTags": false
                        },
                        {
                            "allValue": null,
                            "current": {},
                            "datasource": "prometheus",
                            "hide": 0,
                            "includeAll": false,
                            "label": "Service Name",
                            "multi": false,
                            "name": "service_name",
                            "options": [],
                            "query": "label_values(jvm_files, service)",
                            "refresh": 2,
                            "regex": "",
                            "sort": 1,
                            "tagValuesQuery": "",
                            "tags": [],
                            "tagsQuery": "",
                            "type": "query",
                            "useTags": false
                        }
                    ]
                },
                "time": {
                    "from": "now-15m",
                    "to": "now"
                },
                "timepicker": {
                    "refresh_intervals": [
                        "5s",
                        "10s",
                        "30s",
                        "1m",
                        "5m",
                        "15m",
                        "30m",
                        "1h",
                        "2h",
                        "1d"
                    ],
                    "time_options": [
                        "5m",
                        "15m",
                        "1h",
                        "6h",
                        "12h",
                        "24h",
                        "2d",
                        "7d",
                        "30d"
                    ]
                },
                "timezone": "",
                "title": "JHipster Metrics",
                "version": 3
            }
<%_ } _%>
